<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>专业添加</title>
    <style>
        form {
            margin: 20px auto;
            width: 500px;
            border: 1px solid #ccc;
            padding: 20px
        }
    </style>
</head>
<body>
<form method="post" action="../major_add/">
    {% csrf_token %}
    <table>
        <tr>
            <th>专业名称</th>
            <td><input name="major"></td>
        </tr>
        <tr>
            <th>学历层次</th>
            <td><input name="level"/></td>
        </tr>
        <tr>
            <th>主考院校</th>
            <td><input name="colleges"/></td>
        </tr>
        <tr>
            <th>课程数量</th>
            <td><input name="course_num"/></td>
        </tr>
        <tr>
            <th>所属省份</th>
            <td><input name="provice"/></td>
        </tr>
            <th>上线状态</th>
            <td><input name="status"/></td>
{#            <td>#}
{#                <select name="test_way">#}
{#                    {% for i in info %}#}
{#                         <option> {{i.get_test_way_display}} </option>#}
{#                         {% endfor %}#}
{#                    <option>是</option>#}
{#                    <option>否</option>#}
{#                </select>#}
{#            </td>>#}
        </tr>
        <tr>
            <th>同类排序</th>
            <td><input name="sort"/></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit"/>
            </td>
        </tr>
    </table>
</form>
</body>
</html>